package com.simple.javatraining.testing.testinside.answers;

public class ProposedAnswer extends Answer{
	private boolean indicatorOfCorrect;
	
	public ProposedAnswer(String textOfAnswer, boolean indicatorOfCorrect) {
		super(textOfAnswer);
		this.indicatorOfCorrect = indicatorOfCorrect;
	}
	
	public boolean isCorrect() {
		return indicatorOfCorrect;
	}

}
